home *** CD-ROM | disk | FTP | other *** search
- Path: newsbf02.news.aol.com!not-for-mail
- From: nautilpomp@aol.com (NautilPomp)
- Newsgroups: comp.lang.c++
- Subject: Re: Blinking mouse
- Date: 2 Jan 1996 08:20:31 -0500
- Organization: America Online, Inc. (1-800-827-6364)
- Sender: root@newsbf02.news.aol.com
- Message-ID: <4cbbev$l6n@newsbf02.news.aol.com>
- References: <51231203347$71C7@lasernet.com>
- Reply-To: nautilpomp@aol.com (NautilPomp)
- NNTP-Posting-Host: newsbf02.mail.aol.com
-
- Try not to hide/show mouse outside the UpdateClock(), but do this
- inside it and only when mouse is in the region of your Image, e.g. don't
- touch when don't need. For ex.:
- (x1,y1,x2,y2) - update region
-
- //****************** starts **************************
- if (mouse.x>=x1 && mouse.y<=y1 &&
- mouse.x<=x2 && mouse.y>=y2)
- mouse.hide() // or show
- //******************* ends ************************
-
-
-
- Sergey
-
- ------ For those who don't like AOL:
- Do not blame AOL for being bad and those who use it, but ask
- yourself: "May be there is nothing else they can use?"
-
- (Koz'ma Prutkov style)
-